﻿using System;
using System.Collections.Generic;
using System.Text;

namespace _1_Interfaces.Models.Dtos.Cjw
{
    /// <summary>
    /// 出科/入科比Dto
    /// </summary>
    public class InOutDto
    {
        /// <summary>
        /// 时间
        ///</summary>
        public string Time { get; set; }

        /// <summary>
        /// 入科数
        ///</summary>
        public int In { get; set; }

        /// <summary>
        /// 出科数
        ///</summary>
        public int Out { get; set; }

        /// <summary>
        /// 出科/入科比
        ///</summary>
        private double inOut;
        /// <summary>
        /// 出科/入科比
        ///</summary>
        public double InOut
        {
            get
            {
                return Math.Round(inOut * 100, 1);
            }
            set
            {
                inOut = value;
            }
        }
    }
}
